package com.gobang.domain.dto.points;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class AdminAdjustPointsRequest {

    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @NotNull(message = "积分变更值不能为空")
    private Integer delta;

    @NotBlank(message = "调整原因不能为空")
    @Size(min = 1, max = 100, message = "调整原因长度必须在1到100个字符之间")
    private String reason;
}
